﻿@model GigaSite.Web.Areas.Catalog.Models.VacancyListItemModel

<div class="vacancy" id="vacancy-@Model.Id">
    <div class="jobTitle">
        @Html.ActionLink(Model.VacancyName,"ViewVacancy",new {id = Model.Id})
    </div>
    <div class="jobSalary">
        @Model.Salary
    </div>
    <div class="additionalInfo">
        @if (Model.CompanyId != -1)
        {
            @Html.ActionLink(Model.CompanyName,"ViewCompany","Companies",new {area = "Catalog", id = Model.CompanyId},null)
        }
        else
        {
            @Model.CompanyName
        }
        (@Model.VacancyCity)
        @Model.VacancyDate, @Model.Views просмотров
    </div>
</div>